<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>CSS基本语法</title>
    <style>
        img.home {
            width: 46px;
            height: 44px;
            background: url(./img_navsprites.gif) 0 0;
        }

        img.next {
            width: 383px;
            height: 344px;
            background: url(./img_navsprites.gif) 0px 10px;
        }
    </style>
</head>

<body>
    <img class="home" src="/images/img_trans.gif">
    <br>
    <img class="next" src="/images/img_trans.gif">
</body>

</html>